package com.aaa.sso.service;

import com.aaa.common.bo.Tuser;
import com.aaa.common.bo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ProjectName TT_car_wash_ms
 * Author 李江波
 * Date 2023/06/20 下午 04:48
 * Version 1.0.0
 * Description
 */
@FeignClient(name = "LimitsServer")
public interface RemoteUserService {
    /**
     * 根据用户名查询用户信息
     * @param userName
     * @return
     */
    @GetMapping("/user/queryByUserName")
    User queryByUserName(@RequestParam("userName") String userName);
}
